package com.tanhua.api;

import com.tanhua.sso.pojo.Visitors;

import java.util.List;

public interface VisitorsServiceApi {
    //更新或添加来访
    void save(Visitors visitors);
    //第一次查看来访记录
    List<Visitors> selectVisitors(Long userId, long timeMillis);

    //再次
    List<Visitors> selectVisitor(Long userId, long timeMillis);

    //谁看过我
    List<Visitors> myVisitorUserId(Long userId);
}
